projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c177f
)
path bar: Request enough natural width to fit all buttons
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jan 2014 22:55:04 +0000
(17:55 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jan 2014 22:58:44 +0000
(17:58 -0500)
Otherwise, we are at the mercy of the container giving us
more space than we request, which does not always work.
gtk/gtkpathbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpathbar.c
b/gtk/gtkpathbar.c
index ec3364b724652902548feba987485ccbd998ac0c..3a1c821623e6ad421e5d7a5995c2d6fb9828ac2e 100644
(file)
--- a/
gtk/gtkpathbar.c
+++ b/
gtk/gtkpathbar.c
@@
-371,7
+371,7
@@
gtk_path_bar_get_preferred_width (GtkWidget *widget,
}
*minimum = MAX (*minimum, child_min);
- *natural =
MAX (*natural, child_nat)
;
+ *natural =
*natural + child_nat
;
}
/* Add space for slider, if we have more than one path */